//this class "simulates" the os.  it is created by the main ScheduleSimultor class and initliazed with processes to run
//and a type of scheduling system to use.  you call run on it and it uses the scheduling algorithm to run schedule the process
//to run

//once the system is done running, you can call print results on it to display statistical data
public class OSSimulator {

	long clock;
	
	//need to create several queues up here to store processes
	
	//initalized queue
	
	
	public OSSimulator()
	{
		clock = 0;
		
	}
	
	public void Run()
	{
		//run for 1 tick!
		
		//move processes through the queues where they should be
		//get the process to run from the feedback queue
		//run that process for one tick
		//(when the process runs for one tick it should update its internals so that it knows it was run)
		
		clock++;
	}
	
	public void PrintStatistics()
	{
		//should we only print out the end statistics? what data do we want to print out
		if (ScheduleSimulator.statsOnlyFlag)
		{
			//go through each process and ask it how many times it was run on the processor
			
		}
		
		//go through process list and print out general results
		
		//print out statistics for the algorithm used
		
		
		
	}
	
	
}
